package strangeattractor.core;

public class DPoint {
	//A point with three double coordinates.
	public double x = 0, y = 0, z = 0;

	public DPoint(double x, double y, double z) {
		this.x = x;
		this.y = y;
		this.z = z;
	}
	
	public double getDistance(DPoint other){
		return Math.sqrt((other.x-x)*(other.x-x) + (other.y-y)*(other.y-y) + (other.z-z)*(other.z-z));
	}

}
